package com.irdstudio.apicenter.gateway.web.view;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.irdstudio.apicenter.gateway.comm.MaccsPacket;

public abstract class AbstractView implements View {

	protected HttpServletRequest request;
	protected MaccsPacket packet;
	protected HttpServletResponse response;

	/**
	 * 默认构造函数(传入要渲染的数据包)
	 * @param request
	 * @param response
	 * @param packet
	 */
	public AbstractView(HttpServletRequest request,
			HttpServletResponse response, MaccsPacket packet) {
		this.request = request;
		this.response = response;
		this.packet = packet;
	}
}
